package cn.stylefeng.guns.modular.robot.entity.dto;

import lombok.Data;

import java.nio.file.Path;
import java.util.Date;
import java.util.List;

@Data
public class MailHistoryDto {
    private Long mailUID;
    private Boolean isSeen;
    private String from;
    private String subject;
    private String to;
    private String cc;
    private String bcc;
    private Date sendDate;
    private Boolean containAttachment;
    private Boolean replySign;
    private String priority;
    private String content;
    private String folderName;

    private List<Attachment> attachments;

    @Data
    public static class Attachment{
        private String fileName;
        private Path path;
    }
}
